<jsp:useBean id="userBean" class="sigcBeans.userBean" scope="session">
<jsp:setProperty name="userBean" property="*"/>
</jsp:useBean>
<%
String login,password,primNome,ultNome,eMail;
login = request.getParameter("txtRegLogin");
password = request.getParameter("txtRegPasswd");
primNome = request.getParameter("txtRegPrimNome");
ultNome = request.getParameter("txtRegUltNome");
eMail = request.getParameter("txtRegEmail");

userBean.registaUtilizador(login,password,primNome,ultNome, eMail);

response.sendRedirect("index.jsp");
%>